#pragma once
#include "IGraphicModule.h"
#include "CGraphic.h"

//namespace ArkGraphic
//{
	
extern bool g_bCalculateUsedSkeleteOnly;

class CGraphicModule :
	public IGraphicModule
{
public:
// 	declare_interface(IGraphicModule);

	ICoreGraphic* CreateGraphic( HANDLE hDev, void* PresentParam );
	ICoreGraphic* CreateGraphic( HWND hWnd, BOOL bFullScreen = FALSE, ARK_DISPLAY_FORMAT Format = ARK_DIS_R5G6B5 );
	void ResetGraphicRenderStyle( ICoreGraphic* pIGraphic );
	void CalculateUsedSkeleteOnly( bool bOnlyUsed );

	WX_DECLARE_DYNAMIC(CGraphicModule);
};

// };
